package com.gateway.entity;

/**
 * 逻辑服务器
 * 
 * @author Simple
 * @date 2013-7-1 下午02:29:57
 * @Description TODO
 */
public class LogicServer {

  private int id;

  private String name;// 名称

  private String ip;// ip

  private int port;// 端口

  private int connections;// 连接数

  private String status;// 状态

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name=name;
  }

  public String getIp() {
    return ip;
  }

  public void setIp(String ip) {
    this.ip=ip;
  }

  public int getPort() {
    return port;
  }

  public void setPort(int port) {
    this.port=port;
  }

  public void setConnections(int connections) {
    this.connections=connections;
  }

  public int getConnections() {
    return connections;
  }

  public void setStatus(String status) {
    this.status=status;
  }

  public String getStatus() {
    return status;
  }

  public void setId(int id) {
    this.id=id;
  }

  public int getId() {
    return id;
  }

  @Override
  public String toString() {
    return "LogicServer [connections=" + connections + ", id=" + id + ", ip=" + ip + ", name=" + name + ", port=" + port
      + ", status=" + status + "]";
  }
}
